home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGClipPathElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  98 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGClipPathElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGClipPathElement_h__
  6. #define __gen_nsIDOMSVGClipPathElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMSVGElement_h__
  10. #include "nsIDOMSVGElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMSVGAnimatedEnumeration; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMSVGClipPathElement */
  21. #define NS_IDOMSVGCLIPPATHELEMENT_IID_STR "0c3f45a4-e6d0-44e7-a2f8-d128ecf1db9b"
  22.  
  23. #define NS_IDOMSVGCLIPPATHELEMENT_IID \
  24.   {0x0c3f45a4, 0xe6d0, 0x44e7, \
  25.     { 0xa2, 0xf8, 0xd1, 0x28, 0xec, 0xf1, 0xdb, 0x9b }}
  26.  
  27. class NS_NO_VTABLE nsIDOMSVGClipPathElement : public nsIDOMSVGElement {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGCLIPPATHELEMENT_IID)
  31.  
  32.   enum { SVG_CPUNITS_UNKNOWN = 0U };
  33.  
  34.   enum { SVG_CPUNITS_OBJECTBOUNDINGBOX = 1U };
  35.  
  36.   enum { SVG_CPUNITS_USERSPACEONUSE = 2U };
  37.  
  38.   /* readonly attribute nsIDOMSVGAnimatedEnumeration clipPathUnits; */
  39.   NS_IMETHOD GetClipPathUnits(nsIDOMSVGAnimatedEnumeration * *aClipPathUnits) = 0;
  40.  
  41. };
  42.  
  43. /* Use this macro when declaring classes that implement this interface. */
  44. #define NS_DECL_NSIDOMSVGCLIPPATHELEMENT \
  45.   NS_IMETHOD GetClipPathUnits(nsIDOMSVGAnimatedEnumeration * *aClipPathUnits); 
  46.  
  47. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  48. #define NS_FORWARD_NSIDOMSVGCLIPPATHELEMENT(_to) \
  49.   NS_IMETHOD GetClipPathUnits(nsIDOMSVGAnimatedEnumeration * *aClipPathUnits) { return _to GetClipPathUnits(aClipPathUnits); } 
  50.  
  51. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  52. #define NS_FORWARD_SAFE_NSIDOMSVGCLIPPATHELEMENT(_to) \
  53.   NS_IMETHOD GetClipPathUnits(nsIDOMSVGAnimatedEnumeration * *aClipPathUnits) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClipPathUnits(aClipPathUnits); } 
  54.  
  55. #if 0
  56. /* Use the code below as a template for the implementation class for this interface. */
  57.  
  58. /* Header file */
  59. class nsDOMSVGClipPathElement : public nsIDOMSVGClipPathElement
  60. {
  61. public:
  62.   NS_DECL_ISUPPORTS
  63.   NS_DECL_NSIDOMSVGCLIPPATHELEMENT
  64.  
  65.   nsDOMSVGClipPathElement();
  66.  
  67. private:
  68.   ~nsDOMSVGClipPathElement();
  69.  
  70. protected:
  71.   /* additional members */
  72. };
  73.  
  74. /* Implementation file */
  75. NS_IMPL_ISUPPORTS1(nsDOMSVGClipPathElement, nsIDOMSVGClipPathElement)
  76.  
  77. nsDOMSVGClipPathElement::nsDOMSVGClipPathElement()
  78. {
  79.   /* member initializers and constructor code */
  80. }
  81.  
  82. nsDOMSVGClipPathElement::~nsDOMSVGClipPathElement()
  83. {
  84.   /* destructor code */
  85. }
  86.  
  87. /* readonly attribute nsIDOMSVGAnimatedEnumeration clipPathUnits; */
  88. NS_IMETHODIMP nsDOMSVGClipPathElement::GetClipPathUnits(nsIDOMSVGAnimatedEnumeration * *aClipPathUnits)
  89. {
  90.     return NS_ERROR_NOT_IMPLEMENTED;
  91. }
  92.  
  93. /* End of implementation class template. */
  94. #endif
  95.  
  96.  
  97. #endif /* __gen_nsIDOMSVGClipPathElement_h__ */
  98.